from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="hybz_excel_tool",
    version="0.1.0",
    description="瀚越包装方案匹配工具",
    long_description=long_description,
    long_description_content_type="text/markdown",
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    install_requires=[
        "pandas==2.0.3",
        "openpyxl==3.1.2",
        "pyqt5==5.15.10",
        "numpy==1.24.3",
    ],
    extras_require={
        "dev": [
            "pytest==7.3.1",
            "pytest-cov==4.1.0",
            "black==23.3.0",
            "flake8==6.0.0",
            "mypy==1.3.0",
        ],
        "build": [
            "pyinstaller==5.13.0",
            "cx_Freeze==6.15.1",
        ],
    },
    python_requires=">=3.8",
    entry_points={
        "console_scripts": [
            "hybz_tool=app.main:main",
        ],
    },
)